package server;

import model.CategoryItems;

public class CategoryItemsRepository
extends BaseRepository
{
	public void create(CategoryItems categoryItems)
	{
		getService().put(categoryItems);
	}
	
	public void deleteById(Long pId)
	{
		getService().delete(CategoryItems.class, pId);
	}
	
	public CategoryItems getById(Long pId)
	{
		return getService().get(CategoryItems.class, pId);
	}
}
